docs: make _from_resource() a literal
authorWilliam Jon McCann <william.jon.mccann@gmail.com>
Tue, 21 Jan 2014 18:45:42 +0000 (13:45 -0500)
committerWilliam Jon McCann <william.jon.mccann@gmail.com>
Tue, 21 Jan 2014 23:12:50 +0000 (18:12 -0500)
So it doesn't get expanded to a function link.

docs/reference/gtk/getting_started.xml

index d5473ef27b57b5f23bd1a394d50bb2bc60f30e56..30c98ccd2fd94bfdfbe46873c594db5680166140 100644 (file)
@@ -419,7 +419,7 @@ example_app_window_class_init (ExampleAppWindowClass *class)
         <para>(<ulink url="https://git.gnome.org/browse/gtk+/tree/examples/application2/exampleappwin.c">full source</ulink>)</para>
       </informalexample>
 
-      <para>You may have noticed that we used the _from_resource() variant
+      <para>You may have noticed that we used the <literal>_from_resource()</literal> variant
       of the function that sets a template. Now we need to use GLib's resource
       functionality to include the ui file in the binary. This is commonly
       done by listing all resources in a .gresource.xml file, such as this: